package com.xxx.demo.client;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@Slf4j
@SpringBootApplication
@EnableAutoConfiguration
@EnableScheduling
@ComponentScan({"com.github.butid.data", "com.xxx.demo.client"})
public class ClientDemoApplication {

  public static void main(String[] args) {

    ConfigurableApplicationContext application = SpringApplication.run(ClientDemoApplication.class, args);
  }

}